﻿namespace ZL.WeChatCard.Entity.EasyUse
{
    public class Balanceinfo
    {
        /// <summary>
        ///     账户显示名称
        /// </summary>
        public string Accname { get; set; } = string.Empty;

        /// <summary>
        ///     押金(所有实体卡押金之和)
        /// </summary>
        public decimal Cdepositsum { get; set; }

        /// <summary>
        ///     工本费(所有实体卡工本费之和)
        /// </summary>
        public decimal Cfeesum { get; set; }

        /// <summary>
        ///     总余额：现金金额（充值入-累计出）
        /// </summary>
        public decimal Acccashbalancesum { get; set; }

        /// <summary>
        ///     总余额：增值金额（充值入-累计出）
        /// </summary>
        public decimal Accaddbalancesum { get; set; }

        public decimal RealSum
        {
            get { return Acccashbalancesum + Accaddbalancesum; }
        }

        /// <summary>
        ///     总余额：可用红包
        /// </summary>
        public decimal Acchb { get; set; }

        /// <summary>
        ///     总余额：可兑积分
        /// </summary>
        public int Accjfusable { get; set; }

        /// <summary>
        ///     总余额：不可兑积分
        /// </summary>
        public int Accjf { get; set; }
    }
}